<class 'sqlite3.ProgrammingError'> | Python 2.7.18: /bin/python2 Tue Dec 3 12:29:33 2024 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/marknnrq/file-extension.net/seeker/seeker.py in <module>() |
293 |
294 |
295 |
296 if __name__ == "__main__": |
=> 297 main() |
main = <function main> |
/home/marknnrq/file-extension.net/seeker/seeker.py in main() |
222 |
223 ts = clock() |
=> 224 results = seeker_query(qext, qand, qor, qnot) |
225 te = clock() |
226 |
results undefined, global seeker_query = <function seeker_query>, qext = 'NOPROBLEMWEDECFILES\xc3\xa2\xc2\x80\xc2\x8b', qand = [], qor = [], qnot = [] |
/home/marknnrq/file-extension.net/seeker/seeker.py in seeker_query(qext='NOPROBLEMWEDECFILES\xc3\xa2\xc2\x80\xc2\x8b', qand=[], qor=[], qnot=[]) |
200 res = [] |
201 conn = sqlite3.connect("seeker.db3") |
=> 202 for row in conn.execute(sqlbody, (fts_query,)): |
203 res.append(row) |
204 conn.close() |
row undefined, conn = <sqlite3.Connection object>, conn.execute = <built-in method execute of sqlite3.Connection object>, sqlbody = '\n select ext, ftype, site, extra\n from see... where\n (seeker match ?)\n limit 150\n ', fts_query = 'ext:NOPROBLEMWEDECFILES\xc3\xa2\xc2\x80\xc2\x8b ' |
<class 'sqlite3.ProgrammingError'>: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
args =
('You must not use 8-bit bytestrings unless you us... just switch your application to Unicode strings.',)
message =
'You must not use 8-bit bytestrings unless you us... just switch your application to Unicode strings.'